package com.github.bitsapling.sapling.service;

import com.github.bitsapling.sapling.entity.Category;

import java.util.List;

public interface CategoryService {

    /**
     * @Description
     * @Author cx
     * @param
     * @return List<Category>
     */
    public List<Category> queryAll();

    public Category getCategoryBySlug(String slug);
}
